﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>身份证办理进度查询结果</title>
    <meta charset='UTF-8'>
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no,email=no" name="format-detection" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" />
    <link href="../css/alipay/alipay.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/amui-demo_files/toast.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/button.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/amui-demo_files/dialog.css" type="text/css" rel="stylesheet" />
    <link href="../css/alipay/amui-demo_files/button-group.css" type="text/css" rel="stylesheet" />
    <link href="../css/main.css" type="text/css" rel="stylesheet" />
    <link href="../css/dialog.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="../js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../js/extensions/base.js"></script>
    <script type="text/javascript" src="../css/alipay/amui-demo_files/amui.js"></script>
    <style type="text/css">
    	.am-list:not([am-version]){padding: 0px;}
    	.am-list:not([am-version]) .am-list-header{margin:9px 9px 0; padding-bottom: 9px; font-size: 12px;}
    </style>
    <script type="text/javascript">
        $(function(){
            /*$("#dialogbut").click(function(){
             $(".mask").show();
             $(".demo-content").show();
             });*/

            $(".am-dialog-button").click(function(){
                $(".mask").hide();
                $(".demo-content").hide();
            });

        })
    </script>
</head>
<body>
<div class="mask" style="display: none;"></div>
<div class="demo-content"  style="display: none;">
    <div class="demo-mobile">
        <div class="am-dialog show" style="z-index: 10001;">
            <div class="am-dialog-wrap">
                <div class="am-dialog-body">
                    <p id="warn" class="am-dialog-brief"></p>
                </div>
                <div class="am-dialog-footer">
                    <a class="am-dialog-button">取消</a>
                    <a class="am-dialog-button">确定</a>
                </div>
            </div>
        </div>
    </div>
</div>
    <div data-role="page" id="detailDiv">
        <div data-role="content" style="background-color:#EFEFF4;">
        	<div class="am-list" am-mode="flat chip 43px">
    <div class="am-list-header">身份证办理信息</div>
    <div class="am-list-body">
        <a href="#" class="am-list-item">
            <div class="am-list-content">受理单位名称</div>
            <div class="am-list-extra" id="sljgmc"></div>
        </a>
         <a href="#" class="am-list-item">
            <div class="am-list-content">受理时间</div>
            <div class="am-list-extra" id="slsj"></div>
        </a>
         <a href="#" class="am-list-item">
            <div class="am-list-content">审批过程</div>
            <div class="am-list-extra" id="xiaoxi"></div>
        </a>
       
    </div>
</div>

            <div class="am-list" am-mode="flat chip" style="display: none;">
                <div class="am-list-header">身份证办理信息</div>
                <div class="am-list" am-mode="radius">
                    <div class="am-list-body">
                        <div class="am-list-item">
                            <div class="am-list-content">受理单位名称</div>
                            <div class="am-list-control" id="sljgmc"></div>
                        </div>
                        <div class="am-list-item">
                            <div class="am-list-content">受理时间</div>
                            <div class="am-list-control" id="slsj"></div>
                        </div>
                        <div class="am-list-item">
                            <div class="am-list-content">审批过程</div>
                            <div class="am-list-control" id="xiaoxi"></div>
                        </div>
                    </div>
                </div>
                </div>
        </div>
    </div>
 <div id="fuwu" style="display: block;font-family:STHeitiSC  ;font-size: 12px; margin-bottom: 15px; margin-left: 0px; width: 100%; text-align: center; position: absolute; bottom: 0px;z-index:-1;">
        <div class="am-agreement am-ft-gray am-ft-sm">
            <p>
                本服务由吉林省公安厅<br />江苏欧索软件有限公司提供支持
            </p>
        </div>
    </div>
    <script>
        $(function () {
            var idcard = decodeURI(getQueryStringByName("idcard"));
            var url = "../../../api/query/progress/idcard";
            $.ajax(url, {
                type: "post",
                timeout: 6000,
                data: {"idCard": idcard},
                success: function (data) {
                    if (data && data.succ) {
                        $("#sljgmc").html(data.data.sljgmc==null?'':data.data.sljgmc);
                        $("#slsj").html(data.data.slsj==null?'':data.data.slsj);
                        $("#xiaoxi").html(data.data.xiaoxi==null?'':data.data.xiaoxi);
                    } else {
                        $("#warn").html("未查到相关信息，请确认后再重试！");
                        $(".mask").show();
                        $(".demo-content").show();
                        //window.location.href = "SelectRegisterIDCard.html";
                    }
                },
                error: function (xhr) {
                },
                complete: function () {
                }
            });
        });
    </script>
</body>
</html>
